package com.lhz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhz.model.entity.JobRegistry;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * @Author LiGezZ
 * @Date 2021/08/05 20:41:39
 * @Description: 定时任务服务注册
 */
@Mapper
public interface JobRegistryMapper extends BaseMapper<JobRegistry> {


    /**
     * 查询全部列表
     *
     * @return
     */
    List<JobRegistry> listRegistry();

    /**
     * 更新
     *
     * @param registry
     * @return
     */
    int updateByAddress(JobRegistry registry);


}
